package org.dromara.system.domain.vo;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.dromara.system.domain.CmsOperatorLog;
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 容器出入库管理视图对象 cms_operator_log
 *
 * @author Lion Li
 * @date 2025-08-29
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = CmsOperatorLog.class)
public class CmsOperatorLogVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private Long id;

    /**
     * 供应商编码
     */
    @ExcelProperty(value = "供应商编码")
    private String supplierCode;

    /**
     * 供应商名称
     */
    @ExcelProperty(value = "供应商名称")
    private String supplierName;

    /**
     * 容器编码
     */
    @ExcelProperty(value = "容器编码")
    private String containerCode;

    /**
     * 容器名称
     */
    @ExcelProperty(value = "容器名称")
    private String containerName;

    /**
     * 出/入库
     */
    @ExcelProperty(value = "出/入库", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "container_in_or_out")
    private String inOrOut;

    /**
     * 操作时间
     */
    @ExcelProperty(value = "操作时间")
    private Date operateTime;

    /**
     * 操作人
     */
    @ExcelProperty(value = "操作人")
    private String operatorName;


}
